package com.resou.reader.api.entry;

/**
 * Author: 萤火虫
 * E-mail:  Allensuns@163.com
 * Description:
 * CreateTime: 2019-03 -18
 **/
public class CouponBean {

    /**
     * id : 62
     * user_id : 798
     * obtain_voucher : 300
     * obtain_source : 充值赠送
     * obtain_time : 1544146894000
     * expire_time : 1546738894000
     * surplus_voucher : 0
     * expire_voucher : 112
     */

    private int id;
    private int user_id; //用户id
    private int obtain_voucher;//获取热券的数量
    private String obtain_source; //获取来源
    private long obtain_time;//获取时间
    private long expire_time; //过期时间
    private int surplus_voucher; //剩余热券数量
    private int expire_voucher; //过期热券数量
    private int type;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public CouponBean(int type) {
        this.type = type;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getObtain_voucher() {
        return obtain_voucher;
    }

    public void setObtain_voucher(int obtain_voucher) {
        this.obtain_voucher = obtain_voucher;
    }

    public String getObtain_source() {
        return obtain_source;
    }

    public void setObtain_source(String obtain_source) {
        this.obtain_source = obtain_source;
    }

    public long getObtain_time() {
        return obtain_time;
    }

    public void setObtain_time(long obtain_time) {
        this.obtain_time = obtain_time;
    }

    public long getExpire_time() {
        return expire_time;
    }

    public void setExpire_time(long expire_time) {
        this.expire_time = expire_time;
    }

    public int getSurplus_voucher() {
        return surplus_voucher;
    }

    public void setSurplus_voucher(int surplus_voucher) {
        this.surplus_voucher = surplus_voucher;
    }

    public int getExpire_voucher() {
        return expire_voucher;
    }

    public void setExpire_voucher(int expire_voucher) {
        this.expire_voucher = expire_voucher;
    }
}
